package no.sachmuld.methodcombination.examples.performance.plain;

import no.sachmuld.methodcombination.examples.performance.Step;

import java.util.Arrays;
import java.util.List;

/**
 *
 */
public class Foo implements no.sachmuld.methodcombination.examples.performance.Foo {

    protected List<Step> trace;

    @Override
    public void setTrace(List<Step> trace) {
        this.trace = trace;
    }

    @Override
    public void bar(int i) {
        List<Step> expected = Arrays.asList(Step.values());
        for (Step step : expected) {
            trace.add(step);
        }

    }
}
